package com.dhcc.sds.standard.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.core.framework.base.service.IBaseService;
import com.dhcc.sds.standard.entity.SdsStandRuleBaseCalEntity;
import com.dhcc.sds.standard.entity.SdsStandRuleBaseEntity;

import java.util.List;
import java.util.Map;

public interface IsdsStandRuleCalService extends IBaseService<SdsStandRuleBaseCalEntity> {

    List<SdsStandRuleBaseCalEntity> page(Page<SdsStandRuleBaseCalEntity> page, Map<String, Object> params);

    Object handleRuleExpressions(String matchRule, Long episodeId,String orderSql);

    int calRuleResult(Long episodeId, SdsStandRuleBaseEntity sdsStandRuleBaseEntity);
}
